package com.chenfeng.system.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.chenfeng.common.util.PageInfoUtil;
import com.chenfeng.system.pojo.ACate;
import com.chenfeng.system.pojo.ARegion;


public interface ISystemService
{
	//地区
	JSONObject insertOneRegion(ARegion region);
	JSONObject updateOneRegion(ARegion region);
	JSONObject deleteOneRegion(Map<String,Object> map);
	ARegion findOneRegion(Map<String,Object> map);
	List<ARegion> findCondListRegion(PageInfoUtil pageInfoUtil,Map<String,Object> map);
	//分类
	JSONObject insertOneCate(ACate region);
	JSONObject updateOneCate(ACate region);
	JSONObject deleteOneCate(Map<String,Object> map);
	ACate findOneCate(Map<String,Object> map);
	List<ACate> findCondListCate(PageInfoUtil pageInfoUtil,Map<String,Object> map);
}
